<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_vcmp.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_cb9a941ec225bfb9bad4e8246158e282.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">wb32l003_vcmp.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="wb32l003__vcmp_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">/* Define to prevent recursive inclusion -------------------------------------*/</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#ifndef __WB32L003_VCMP_H</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#define __WB32L003_VCMP_H</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; <span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">/* Includes ------------------------------------------------------------------*/</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;wb32l003.h&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">/* Exported types ------------------------------------------------------------*/</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="struct_v_c_m_p___init_type_def.html">   30</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;{</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="struct_v_c_m_p___init_type_def.html#a4b0fbb313eca5e167fdfb7a517b0b11d">   32</a></span>&#160;  uint32_t <a class="code" href="struct_v_c_m_p___init_type_def.html#a4b0fbb313eca5e167fdfb7a517b0b11d">VcapDiv</a>;          </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="struct_v_c_m_p___init_type_def.html#a6e47e8649d0120e9f0d0aec42b1b2e38">   33</a></span>&#160;  uint32_t <a class="code" href="struct_v_c_m_p___init_type_def.html#a6e47e8649d0120e9f0d0aec42b1b2e38">NegPinSel</a>;        </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="struct_v_c_m_p___init_type_def.html#acd4b07823681431d42f8ffc4159641fa">   34</a></span>&#160;  uint32_t <a class="code" href="struct_v_c_m_p___init_type_def.html#acd4b07823681431d42f8ffc4159641fa">PosPinSel</a>;        </div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="struct_v_c_m_p___init_type_def.html#af32d7f807cd44cda2d3ed50ce33a369d">   35</a></span>&#160;  uint32_t <a class="code" href="struct_v_c_m_p___init_type_def.html#af32d7f807cd44cda2d3ed50ce33a369d">Filter_Enable</a>;    </div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="struct_v_c_m_p___init_type_def.html#a1e6fb932dc713e927d0adcb2225b6ed1">   36</a></span>&#160;  uint32_t <a class="code" href="struct_v_c_m_p___init_type_def.html#a1e6fb932dc713e927d0adcb2225b6ed1">Filter_Clk</a>;       </div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="struct_v_c_m_p___init_type_def.html#a5f8492a81c5da18cdc6777ee013f1990">   37</a></span>&#160;  uint32_t <a class="code" href="struct_v_c_m_p___init_type_def.html#a5f8492a81c5da18cdc6777ee013f1990">Fliter_Num</a>;       </div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;} <a class="code" href="struct_v_c_m_p___init_type_def.html">VCMP_InitTypeDef</a>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">/* Exported constants --------------------------------------------------------*/</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="group___v_c_m_p___enable__definitions.html#ga7beb210cc9b73b7402f093d2330a2b5c">   49</a></span>&#160;<span class="preprocessor">#define VCMP_VCAPDIV_ENABLE      VCMP_CR0_VCAPDIV_EN    </span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="group___v_c_m_p___enable__definitions.html#ga26f7f38a992fab8e4587758404b4674e">   50</a></span>&#160;<span class="preprocessor">#define VCMP_VCAPDIV_DISABLE     (0X0U)                 </span></div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="group___v_c_m_p___enable__definitions.html#gaabb7a19efc162d886712d6dcde694a45">   52</a></span>&#160;<span class="preprocessor">#define VCMP_INT_ENABLE          VCMP_CR1_INT_EN        </span></div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="group___v_c_m_p___enable__definitions.html#ga10850c836adb03d8431677d6a26e03eb">   53</a></span>&#160;<span class="preprocessor">#define VCMP_INT_DISABLE         (0X0U)                 </span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="group___v_c_m_p___enable__definitions.html#ga0bfc5f4a7a2c1c319e3919d9a131af69">   55</a></span>&#160;<span class="preprocessor">#define VCMP_ENABLE              VCMP_CR1_VCEN          </span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group___v_c_m_p___enable__definitions.html#ga14f637441e777b9f0149a71f40492124">   56</a></span>&#160;<span class="preprocessor">#define VCMP_DISABLE             (0X0U)                 </span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group___v_c_m_p___v_c_a_p___division___slection.html#gaf73a9242291a37ae5238515d1d3033b6">   64</a></span>&#160;<span class="preprocessor">#define VCMP_1P4_VCAPDIV               (0X00U) </span></div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="group___v_c_m_p___v_c_a_p___division___slection.html#ga5723c9b69e5615de2cf001faa0548dbc">   65</a></span>&#160;<span class="preprocessor">#define VCMP_2P4_VCAPDIV               (0x01U) </span></div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="group___v_c_m_p___v_c_a_p___division___slection.html#ga5fb3c2c2f1328ce9f52961ddb3001ed3">   66</a></span>&#160;<span class="preprocessor">#define VCMP_3P4_VCAPDIV               (0x02U) </span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="group___v_c_m_p___v_c_a_p___division___slection.html#ga86ada3cc86b9a6510c29229cd5cf6fad">   67</a></span>&#160;<span class="preprocessor">#define VCMP_4P4_VCAPDIV               (0x03U) </span></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="preprocessor">#define IS_VCMP_VCAPDIV(VCMP_VCAPDIV)  (((VCMP_VCAPDIV) == VCMP_1P4_VCAPDIV) || ((VCMP_VCAPDIV) == VCMP_2P4_VCAPDIV) || \</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor">                                        ((VCMP_VCAPDIV) == VCMP_3P4_VCAPDIV) || ((VCMP_VCAPDIV) == VCMP_4P4_VCAPDIV))</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">#define VCMP_INPUT_0                   (0X00U)</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">#define VCMP_INPUT_1                   (0X01U)</span></div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">#define VCMP_INPUT_2                   (0X02U)</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">#define VCMP_INPUT_VCAPDIV             (0X03U)</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="preprocessor">#define IS_VCMP_INPUT(VCMP_INPUT)      (((VCMP_INPUT) == VCMP_INPUT_0) || ((VCMP_INPUT) == VCMP_INPUT_1) || \</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">                                        ((VCMP_INPUT) == VCMP_INPUT_2) || ((VCMP_INPUT) == VCMP_INPUT_VCAPDIV))</span></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group___v_c_m_p___filter___function___selection.html#ga1c148678c6bd4843e4eccd91eee44541">   92</a></span>&#160;<span class="preprocessor">#define VCMP_FILTER_ENABLE             VCMP_CR1_FLTEN       </span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group___v_c_m_p___filter___function___selection.html#gaa23dd5cf99e8bfdba359ed17046b744d">   93</a></span>&#160;<span class="preprocessor">#define VCMP_FILTER_DISABLE            (0X0U)               </span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">#define IS_VCMP_FILTER_ENABLE(FILTER)  ((FILTER == VCMP_FILTER_ENABLE) || (FILTER == VCMP_FILTER_DISABLE))</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#define IS_VCMP_FILTER_NUM(FILTER_NUM) ((FILTER_NUM &gt;= 0U) &amp;&amp; (FILTER_NUM &lt;= 0XFFFFU)) </span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="group___v_c_m_p___interrupt___trigger___selection.html#ga6564310d3486928b83a43421410a5348">  104</a></span>&#160;<span class="preprocessor">#define VCMP_HIGH_INT            VCMP_CR1_HIGHINTEN     </span></div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="group___v_c_m_p___interrupt___trigger___selection.html#ga968aadca7c332b8b1025cd76d8596730">  105</a></span>&#160;<span class="preprocessor">#define VCMP_RISE_INT            VCMP_CR1_RISEINTEN     </span></div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="group___v_c_m_p___interrupt___trigger___selection.html#gac10b77de19a6217986b4c2494d7cd473">  106</a></span>&#160;<span class="preprocessor">#define VCMP_FALL_INT            VCMP_CR1_FALLINTEN     </span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="preprocessor">#define VCMP_INT_MASK            (VCMP_HIGH_INT | VCMP_RISE_INT | VCMP_FALL_INT)</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="preprocessor">#define IS_VCMP_INT(VCMP_INT)    (((VCMP_INT) == VCMP_HIGH_INT) || ((VCMP_INT) == VCMP_RISE_INT) || \</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">                                  ((VCMP_INT) == VCMP_FALL_INT))</span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group___v_c_m_p___filter___clock___selection.html#gae27bd14978130c868c1503a5787b53d8">  118</a></span>&#160;<span class="preprocessor">#define VCMP_FILTER_CLK_NONE                 (0X00U)                                 </span></div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="group___v_c_m_p___filter___clock___selection.html#ga77ed804440b33bfd124540adc52589f6">  119</a></span>&#160;<span class="preprocessor">#define VCMP_FILTER_CLK_PCLK                 (0X01U &lt;&lt; VCMP_CR1_VCMP_FLTCLK_SEL_Pos) </span></div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="group___v_c_m_p___filter___clock___selection.html#gaf5bc9ad9ae62bb27db70c1ac8ea25221">  120</a></span>&#160;<span class="preprocessor">#define VCMP_FILTER_CLK_LSI                  (0X02U &lt;&lt; VCMP_CR1_VCMP_FLTCLK_SEL_Pos) </span></div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="preprocessor">#define IS_VCMP_FILTER_CLOCK(FILTER_CLOCK)   ((FILTER_CLOCK == VCMP_FILTER_CLK_NONE) || \</span></div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="preprocessor">                                              (FILTER_CLOCK == VCMP_FILTER_CLK_PCLK) || \</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="preprocessor">                                              (FILTER_CLOCK == VCMP_FILTER_CLK_LSI))</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_INV_PAD                  (0x01 &lt;&lt; VCMP_OUTCFG_INV_PAD_Pos)</span></div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_TIM1_BKE                 (0x01 &lt;&lt; VCMP_OUTCFG_TIM1BKE_Pos)</span></div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_TIM1CH4_GATE             (0x01 &lt;&lt; VCMP_OUTCFG_TIM1CH4_EN_Pos)</span></div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_INV_TIM1CH4_GATE         (0x01 &lt;&lt; VCMP_OUTCFG_INV_TIM1CH4_Pos)</span></div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_TIM1CH3_GATE             (0x01 &lt;&lt; VCMP_OUTCFG_TIM1CH3_EN_Pos)</span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_INV_TIM1CH3_GATE         (0x01 &lt;&lt; VCMP_OUTCFG_INV_TIM1CH3_Pos)</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_TIM1CH2_GATE             (0x01 &lt;&lt; VCMP_OUTCFG_TIM1CH2_EN_Pos)</span></div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_INV_TIM1CH2_GATE         (0x01 &lt;&lt; VCMP_OUTCFG_INV_TIM1CH2_Pos)</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_TIM1CH1_GATE             (0x01 &lt;&lt; VCMP_OUTCFG_TIM1CH1_EN_Pos)</span></div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_INV_TIM1CH1_GATE         (0x01 &lt;&lt; VCMP_OUTCFG_INV_TIM1CH1_Pos)</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_PCA_EXTCLK_EN            (0x01 &lt;&lt; VCMP_OUTCFG_PCAECI_EN_Pos)</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_PCA_CAP0_EN              (0x01 &lt;&lt; VCMP_OUTCFG_PCACAP0_EN_Pos)</span></div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_INV_PCA                  (0x01 &lt;&lt; VCMP_OUTCFG_INV_PCA_Pos)</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_LPTIM_EXTCLK_EN          (0x01 &lt;&lt; VCMP_OUTCFG_LPTIMEXT_EN_Pos)</span></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_LPTIM_GATE               (0x01 &lt;&lt; VCMP_OUTCFG_LPTIM_EN_Pos)</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_TIM11_GATE               (0x01 &lt;&lt; VCMP_OUTCFG_TIM11_EN_Pos)</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_TIM10_GATE               (0x01 &lt;&lt; VCMP_OUTCFG_TIM10_EN_Pos)</span></div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_INV_LPTIM_TIM10_11       (0x01 &lt;&lt; VCMP_OUTCFG_INV_TIMX_Pos)</span></div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="preprocessor">#define VCMP_OUTCFG_MSK                      (0X7FFFFU)</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="preprocessor">#define IS_VCMP_OUTCFG(OUTCFG)               ((OUTCFG &amp; VCMP_OUTCFG_MSK) != 0X0000U)</span></div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="comment">/* Exported macros -----------------------------------------------------------*/</span></div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="comment">/* Exported functions --------------------------------------------------------*/</span></div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___v_c_m_p.html#ga2750a7067307af723197827a72f59109">VCMP_DeInit</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___v_c_m_p.html#ga4740bab6a4cf05f57169470d78644f61">VCMP_Init</a>(<a class="code" href="struct_v_c_m_p___init_type_def.html">VCMP_InitTypeDef</a> *InitStruct);</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___v_c_m_p.html#ga5bb6c09640e843eff45f1f30354244ab">VCMP_ITConfig</a>(uint32_t Config, FunctionalState NewState);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___v_c_m_p.html#ga2dd3467ddb8582348db1ab6ce18a65e7">VCMP_ITCmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___v_c_m_p.html#ga2102bab52f7ce939a1ffe149a16bdcfc">VCMP_OutputConfig</a>(uint32_t Config, FunctionalState NewState);</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;FlagStatus <a class="code" href="group___v_c_m_p.html#gab89951829fda48b7e324c77e7cbc7b79">VCMP_GetFlagStatus</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;ITStatus <a class="code" href="group___v_c_m_p.html#ga915a1f495da6d34f7965a07196f9d8fd">VCMP_GetITStatus</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___v_c_m_p.html#gaa48a94e96a5fc72103e25584acc4efee">VCMP_ClearITPendingBit</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___v_c_m_p.html#ga3d058158bfacb57a69b34cbb43b1e694">VCMP_ClearFlag</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;FlagStatus <a class="code" href="group___v_c_m_p.html#ga68af102a33c97367ca083baa8d3127c8">VCMP_GetOutputStatus</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___v_c_m_p.html#gabf76c5486734899fafa55dcef3f87dbb">VCMP_Cmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;}</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __WB32L003_VCMP_H */</span><span class="preprocessor"></span></div><div class="ttc" id="group___v_c_m_p_html_ga5bb6c09640e843eff45f1f30354244ab"><div class="ttname"><a href="group___v_c_m_p.html#ga5bb6c09640e843eff45f1f30354244ab">VCMP_ITConfig</a></div><div class="ttdeci">void VCMP_ITConfig(uint32_t Config, FunctionalState NewState)</div><div class="ttdoc">Enables or disables the specified VCMP interrupts.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:93</div></div>
<div class="ttc" id="struct_v_c_m_p___init_type_def_html_acd4b07823681431d42f8ffc4159641fa"><div class="ttname"><a href="struct_v_c_m_p___init_type_def.html#acd4b07823681431d42f8ffc4159641fa">VCMP_InitTypeDef::PosPinSel</a></div><div class="ttdeci">uint32_t PosPinSel</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.h:34</div></div>
<div class="ttc" id="group___v_c_m_p_html_gabf76c5486734899fafa55dcef3f87dbb"><div class="ttname"><a href="group___v_c_m_p.html#gabf76c5486734899fafa55dcef3f87dbb">VCMP_Cmd</a></div><div class="ttdeci">void VCMP_Cmd(FunctionalState NewState)</div><div class="ttdoc">Enables or disables VCMP peripheral(write access to VCMP_CR1 registers).</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:262</div></div>
<div class="ttc" id="group___v_c_m_p_html_ga68af102a33c97367ca083baa8d3127c8"><div class="ttname"><a href="group___v_c_m_p.html#ga68af102a33c97367ca083baa8d3127c8">VCMP_GetOutputStatus</a></div><div class="ttdeci">FlagStatus VCMP_GetOutputStatus(void)</div><div class="ttdoc">Checks VCMP output is set or reset.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:240</div></div>
<div class="ttc" id="struct_v_c_m_p___init_type_def_html_a1e6fb932dc713e927d0adcb2225b6ed1"><div class="ttname"><a href="struct_v_c_m_p___init_type_def.html#a1e6fb932dc713e927d0adcb2225b6ed1">VCMP_InitTypeDef::Filter_Clk</a></div><div class="ttdeci">uint32_t Filter_Clk</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.h:36</div></div>
<div class="ttc" id="struct_v_c_m_p___init_type_def_html_a6e47e8649d0120e9f0d0aec42b1b2e38"><div class="ttname"><a href="struct_v_c_m_p___init_type_def.html#a6e47e8649d0120e9f0d0aec42b1b2e38">VCMP_InitTypeDef::NegPinSel</a></div><div class="ttdeci">uint32_t NegPinSel</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.h:33</div></div>
<div class="ttc" id="group___v_c_m_p_html_gaa48a94e96a5fc72103e25584acc4efee"><div class="ttname"><a href="group___v_c_m_p.html#gaa48a94e96a5fc72103e25584acc4efee">VCMP_ClearITPendingBit</a></div><div class="ttdeci">void VCMP_ClearITPendingBit(void)</div><div class="ttdoc">Clears VCMP interrupt.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:230</div></div>
<div class="ttc" id="struct_v_c_m_p___init_type_def_html_a4b0fbb313eca5e167fdfb7a517b0b11d"><div class="ttname"><a href="struct_v_c_m_p___init_type_def.html#a4b0fbb313eca5e167fdfb7a517b0b11d">VCMP_InitTypeDef::VcapDiv</a></div><div class="ttdeci">uint32_t VcapDiv</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.h:32</div></div>
<div class="ttc" id="group___v_c_m_p_html_ga2dd3467ddb8582348db1ab6ce18a65e7"><div class="ttname"><a href="group___v_c_m_p.html#ga2dd3467ddb8582348db1ab6ce18a65e7">VCMP_ITCmd</a></div><div class="ttdeci">void VCMP_ITCmd(FunctionalState NewState)</div><div class="ttdoc">Enables or disables VCMP interrupt.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:115</div></div>
<div class="ttc" id="group___v_c_m_p_html_ga2750a7067307af723197827a72f59109"><div class="ttname"><a href="group___v_c_m_p.html#ga2750a7067307af723197827a72f59109">VCMP_DeInit</a></div><div class="ttdeci">void VCMP_DeInit(void)</div><div class="ttdoc">Deinitializes the VCMP peripheral.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:38</div></div>
<div class="ttc" id="group___v_c_m_p_html_ga4740bab6a4cf05f57169470d78644f61"><div class="ttname"><a href="group___v_c_m_p.html#ga4740bab6a4cf05f57169470d78644f61">VCMP_Init</a></div><div class="ttdeci">void VCMP_Init(VCMP_InitTypeDef *InitStruct)</div><div class="ttdoc">Initializes the VCMP according to the specified parameters in the VCMP_HandleTypeDef.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:51</div></div>
<div class="ttc" id="struct_v_c_m_p___init_type_def_html_a5f8492a81c5da18cdc6777ee013f1990"><div class="ttname"><a href="struct_v_c_m_p___init_type_def.html#a5f8492a81c5da18cdc6777ee013f1990">VCMP_InitTypeDef::Fliter_Num</a></div><div class="ttdeci">uint32_t Fliter_Num</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.h:37</div></div>
<div class="ttc" id="group___v_c_m_p_html_ga2102bab52f7ce939a1ffe149a16bdcfc"><div class="ttname"><a href="group___v_c_m_p.html#ga2102bab52f7ce939a1ffe149a16bdcfc">VCMP_OutputConfig</a></div><div class="ttdeci">void VCMP_OutputConfig(uint32_t Config, FunctionalState NewState)</div><div class="ttdoc">Enables or disables the specified VCMP outputs.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:156</div></div>
<div class="ttc" id="struct_v_c_m_p___init_type_def_html_af32d7f807cd44cda2d3ed50ce33a369d"><div class="ttname"><a href="struct_v_c_m_p___init_type_def.html#af32d7f807cd44cda2d3ed50ce33a369d">VCMP_InitTypeDef::Filter_Enable</a></div><div class="ttdeci">uint32_t Filter_Enable</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.h:35</div></div>
<div class="ttc" id="struct_v_c_m_p___init_type_def_html"><div class="ttname"><a href="struct_v_c_m_p___init_type_def.html">VCMP_InitTypeDef</a></div><div class="ttdoc">VCMP Init structure definition.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.h:30</div></div>
<div class="ttc" id="group___v_c_m_p_html_gab89951829fda48b7e324c77e7cbc7b79"><div class="ttname"><a href="group___v_c_m_p.html#gab89951829fda48b7e324c77e7cbc7b79">VCMP_GetFlagStatus</a></div><div class="ttdeci">FlagStatus VCMP_GetFlagStatus(void)</div><div class="ttdoc">Checks whether VCMP interrupt flag is set or reset.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:176</div></div>
<div class="ttc" id="group___v_c_m_p_html_ga3d058158bfacb57a69b34cbb43b1e694"><div class="ttname"><a href="group___v_c_m_p.html#ga3d058158bfacb57a69b34cbb43b1e694">VCMP_ClearFlag</a></div><div class="ttdeci">void VCMP_ClearFlag(void)</div><div class="ttdoc">Clears VCMP interrupt flag.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:220</div></div>
<div class="ttc" id="group___v_c_m_p_html_ga915a1f495da6d34f7965a07196f9d8fd"><div class="ttname"><a href="group___v_c_m_p.html#ga915a1f495da6d34f7965a07196f9d8fd">VCMP_GetITStatus</a></div><div class="ttdeci">ITStatus VCMP_GetITStatus(void)</div><div class="ttdoc">Checks whether VCMP interrupt is set or reset.</div><div class="ttdef"><b>Definition:</b> wb32l003_vcmp.c:198</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
